package com.syaccp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.syaccp.mapper.TOrderDetailMapper;
import com.syaccp.model.SysDictData;
import com.syaccp.model.TOrderDetail;
import com.syaccp.request.TOrderDetailRequest;
import com.syaccp.service.DictDataService;
import com.syaccp.service.OrderDetailService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("orderDetailService")
public class OrderDetailServiceImpl extends ServiceImpl<TOrderDetailMapper, TOrderDetail> implements OrderDetailService {



    @Override
    public int queryAllByT(String companyName, String zpshName) {
        return this.baseMapper.queryAllByT(companyName,zpshName);
    }

    @Override
    public int queryAllByCommentNumInt(String companyName, String commentType) {
       return this.baseMapper.queryAllByCommentNumInt(companyName,commentType);
    }

    @Override
    public int queryAllCount(TOrderDetailRequest tOrderDetailRequest) {
        return this.baseMapper.queryAllCount(tOrderDetailRequest);
    }

    @Override
    public List<TOrderDetail> queryAll(TOrderDetailRequest tOrderDetailRequest) {
        return this.baseMapper.queryAll(tOrderDetailRequest);
    }

    @Override
    public int queryAllByOrder(String teamName, String fgflName) {
        return this.baseMapper.queryAllByOrder(teamName,fgflName);
    }
}
